package com.wry.cloud.service;

import com.wry.cloud.utils.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <h1>  </h1>
 *
 * @author <a href="mailto::15671496069@163.com">WeiRuYuan</a>
 * @since 2022/9/7
 */
@FeignClient(value = "CLOUD-PROVIDER-PAYMENT/payment/")
public interface OrderService {


    @GetMapping("{id}")
    ApiResult<?> getPayment(@PathVariable("id") Long id);

    @GetMapping("zipkin")
    String zipkin();
}
